_actions.offer(change);
if (_selecting)
{
_selector.wakeup();
// To avoid the extra select wakeup.
_selecting=false;
}
_actions.offer(change);
if (_selecting)
{
if (_selector!=null)
_selector.wakeup();
// To avoid the extra select wakeup.
_selecting=false;
}